package com.roc.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
 * 交易流水表
 * @author ml
 *
 */
@Entity
@Table(name="TBL_TFR_TRN_LOG2")
public class TblTfrTrnLog implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="KEY_RSP")
	private String keyRsp;//KEY_RSP 交易唯一索引
	
	@Column(name="TRANS_DT")
	private String transDt;//	TRANS_DT  交易日期
	
	@Column(name="TRANS_MT")
	private String transMt;//	TRANS_MT   交易时间
	
	@Column(name="TRAN_TP")
	private String tranTp;// TRAN_TP 交易类型
	
	@Column(name="RESP_CD")
	private String respCd;//RESP_CD  交易结果
	
	@Column(name="TRANS_ST")
	private String transSt;//TRANS_ST  交易状态
	
	@Column(name="PRI_ACCT_NO")
	private String priAcctNo;//PRI_ACCT_NO  主账号
	
	@Column(name="CARD_CLASS")
	private String cardClass;//CARD_CLASS  卡种
	
	@Column(name="TRANS_AT")
	private String transAt;//TRANS_AT  交易金额
	
	@Column(name="MCHNT_NM_CONV")
	private String mchntNmConv;//MCHNT_NM_CONV  商户名
	
	@Column(name="MCHNT_CD")
	private String mchntCd;//MCHNT_CD  商户号
	
	@Column(name="MCHNT_CD_CONV")
	private String mchntCdConv;//MCHNT_CD_CONV  后端商户号
	

	@Column(name="TERM_ID")
	private String termId; //TERM_ID  终端号
	
	@Column(name="MA_TRANS_SEQ")
	private long maTransSeq;//MA_TRANS_SEQ  流水号
	
	@Column(name="RETRI_REF_NO")
	private  String retriRefNo;//RETRI_REF_NO  系统参考号
	
	@Column(name="RETRI_REF_NO_CONV")
	private  String retriRefNoConv;//RETRI_REF_NO_CONV  交易参考号
	

	@Column(name="MA_TRANS_CD")
	private String maTransCd;//MA_TRANS_CD
	
	@Column(name="pos_entry_md_cd")
	private String posEntryMdCd;
	
	@Transient
	private String pmtNo;
	
	@Transient
	private String cardType;
	
	@Transient
	private String respName;
	
	@Transient
	private String amountConver;
	
	@Transient
	private String transStName;
	
	@Transient
	private String transInf;
	
	@Transient
	private String dealRs;
	
	@Transient
	private String posEntryMdCdName;
	@Transient
	private String belongName;//所属代理商名称
	@Transient
	private String companyName;//区名称
	@Transient
	private String oneAgentName;//一级代理商名称
	
	
	
	public String getPmtNo() {
		return pmtNo;
	}

	public void setPmtNo(String pmtNo) {
		this.pmtNo = pmtNo;
	}

	public String getPosEntryMdCdName() {
		return posEntryMdCdName;
	}

	public void setPosEntryMdCdName(String posEntryMdCdName) {
		this.posEntryMdCdName = posEntryMdCdName;
	}

	public String getTransStName() {
		return transStName;
	}

	public void setTransStName(String transStName) {
		this.transStName = transStName;
	}

	public String getAmountConver() {
		return amountConver;
	}

	public void setAmountConver(String amountConver) {
		this.amountConver = amountConver;
	}

	public String getRespName() {
		return respName;
	}

	public void setRespName(String respName) {
		this.respName = respName;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getKeyRsp() {
		return keyRsp;
	}

	public void setKeyRsp(String keyRsp) {
		this.keyRsp = keyRsp;
	}

	public String getTransDt() {
		return transDt;
	}

	public void setTransDt(String transDt) {
		this.transDt = transDt;
	}

	public String getTransMt() {
		return transMt;
	}

	public void setTransMt(String transMt) {
		this.transMt = transMt;
	}

	public String getTranTp() {
		return tranTp;
	}

	public void setTranTp(String tranTp) {
		this.tranTp = tranTp;
	}

	public String getRespCd() {
		return respCd;
	}

	public void setRespCd(String respCd) {
		this.respCd = respCd;
	}

	public String getTransSt() {
		return transSt;
	}

	public void setTransSt(String transSt) {
		this.transSt = transSt;
	}

	public String getPriAcctNo() {
		return priAcctNo;
	}

	public void setPriAcctNo(String priAcctNo) {
		this.priAcctNo = priAcctNo;
	}

	public String getCardClass() {
		return cardClass;
	}

	public void setCardClass(String cardClass) {
		this.cardClass = cardClass;
	}

	public String getTransAt() {
		return transAt;
	}

	public void setTransAt(String transAt) {
		this.transAt = transAt;
	}

	public String getMchntNmConv() {
		return mchntNmConv;
	}

	public void setMchntNmConv(String mchntNmConv) {
		this.mchntNmConv = mchntNmConv;
	}

	public String getMchntCd() {
		return mchntCd;
	}

	public void setMchntCd(String mchntCd) {
		this.mchntCd = mchntCd;
	}

	public String getTermId() {
		return termId;
	}

	public void setTermId(String termId) {
		this.termId = termId;
	}

	public long getMaTransSeq() {
		return maTransSeq;
	}

	public void setMaTransSeq(long maTransSeq) {
		this.maTransSeq = maTransSeq;
	}

	

	public String getRetriRefNo() {
		return retriRefNo;
	}

	public void setRetriRefNo(String retriRefNo) {
		this.retriRefNo = retriRefNo;
	}

	public String getTransInf() {
		return transInf;
	}

	public void setTransInf(String transInf) {
		this.transInf = transInf;
	}

	public String getMaTransCd() {
		return maTransCd;
	}

	public void setMaTransCd(String maTransCd) {
		this.maTransCd = maTransCd;
	}

	public String getDealRs() {
		return dealRs;
	}

	public void setDealRs(String dealRs) {
		this.dealRs = dealRs;
	}

	public String getPosEntryMdCd() {
		return posEntryMdCd;
	}

	public void setPosEntryMdCd(String posEntryMdCd) {
		this.posEntryMdCd = posEntryMdCd;
	}

	public String getBelongName() {
		return belongName;
	}

	public void setBelongName(String belongName) {
		this.belongName = belongName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getOneAgentName() {
		return oneAgentName;
	}

	public void setOneAgentName(String oneAgentName) {
		this.oneAgentName = oneAgentName;
	}
	
	public String getMchntCdConv() {
		return mchntCdConv;
	}

	public void setMchntCdConv(String mchntCdConv) {
		this.mchntCdConv = mchntCdConv;
	}
	
	public String getRetriRefNoConv() {
		return retriRefNoConv;
	}

	public void setRetriRefNoConv(String retriRefNoConv) {
		this.retriRefNoConv = retriRefNoConv;
	}
	
}
